<template>
	<view>
		<radio-group name="" class="radio-line acea-row row-middle">
			<label class=" acea-row row-middle" @click="radioCheck">
				<radio style="transform: scale(.8);" />我已阅读并同意
			</label>
			<navigator url="/pages/index/notice?name=yhxz">《{{detail.yhxz.title}}》 </navigator>
			<navigator url="/pages/index/notice?name=mzsm">《{{detail.mzsm.title}}》</navigator>以及
			<navigator url="/pages/index/notice?name=yssm">《{{detail.yssm.title}}》</navigator>
		</radio-group>
	</view>
</template>

<script>
	export default {
		name: "ysxy",
		data() {
			return {
				detail: {},
			};
		},
		created() {
			this.info()
		},
		methods: {
			radioCheck() {
				// this.isRead = true;
				this.$emit('radioCheck');
			},
			async info() {
				const res = await this.$myRequest({
					url: '/api/index/getArticleOne',
					data: {
						openid: uni.getStorageSync('openid'),
					}
				})
				console.log('ysxy',res.data.data)
				this.detail = res.data.data;
			},
		}
	}
</script>

<style lang="scss" scoped>
	.radio-line {
		font-size: 20rpx;
		color: #B0B0B0;
	}

	.radio-line navigator {
		color: #347DFE;
	}
</style>
